FROM node:10.6.0

# Create app directory
RUN mkdir -p /home/iview-admin
WORKDIR /home/iview-admin

# Bundle app source
COPY . /home/iview-admin
RUN npm install

EXPOSE 8080
CMD [ "npm","run", "dev" ]
